This includes file and I/O functions fgetpos
, fopen
, ftell
, gets
, perror
,
remove
, rename
, etc.
Streams and file I/O have a large number of unspecified, undefined and implementation-defined behaviors associated with them.
Noncompliant code example
#include <cstdio> /* Noncompliant */
void fn()
{
char_t array[10];
gets(array); /* Can lead to buffer over-run */
}